package com.xjc.system.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * 徐锦程
 * 时间:2024-11-11 10:24
 */
public class MyConstants {

    /**
     * 参数缺失
     */
    public static String PARAM_MISSING = "参数缺失";

    /**
     * 用户名错误
     */
    public static String USERNAME_ERROR = "用户名错误";

    /**
     * 密码错误
     */
    public static String PASSWORD_ERROR = "密码错误";

    /**
     * 学历等级
     */
    public static Map<Integer,String> SCHOOL_LEVEL = new HashMap<>();

    /**
     * 办学级别
     */
    public static Map<Integer,String> SCHOOL_LEVEL2 = new HashMap<>();

    /**
     * 审核状态
     */
    public static Map<Integer,String> SCHOOL_STATUS = new HashMap<>();

    public static String SET_EXIST = "套餐信息已存在";

    public static String SET_USED = "套餐已被使用，无法删除";

    public static Map<Integer,String> MSG_READ_STATUS = new HashMap<>();
    public static Integer MSG_NOT_READ = 0;
    public static Integer MSG_HAS_READ = 1;
    public static Map<Integer,String> MSG_TYPE = new HashMap<>();

    public static Map<Integer,String> USER_STATUS = new HashMap<>();
    public static Map<Integer,String> STU_SEX = new HashMap<>();
    public static Map<Integer,String> STU_STATUS = new HashMap<>();

    public static String USERNAME_EXIST = "用户已存在";

    public static Integer SET_NOT_PAY = 0;
    public static Integer SET_HAS_PAY= 1;

    public static String PREFIX_TRADE_NO = "sch_set";
    public static String PREFIX_TOKEN = "token:";
    public static String PREFIX_SET_TOKEN = "set_token:";

    public static final String SCHOOL_ROLE = "school";
    public static final String COLLEGE_ROLE = "college";
    public static final String CLASS_ROLE = "class";
    public static final String STU_ROLE = "stu";
    public static final String STU_ROLE_LOGIN = "stu_login";
    public static final String DOOR_ROLE = "door";
    public static final String BUILD_ROLE = "build";

    /**
     * 选宿
     */
    public static Integer TIME_TYPE_SELECT_DORMITORY = 0;
    /**
     * 换宿
     */
    public static Integer TIME_TYPE_EXCHANGE_DORMITORY = 1;
    /**
     * 留宿
     */
    public static Integer TIME_TYPE_STAY_DORMITORY = 2;

    public static Map<Integer,String> CHECK_BED_TYPE_ONE = new HashMap<>();
    public static Map<Integer,String> CHECK_BED_TYPE_TWO = new HashMap<>();

    static {
        SCHOOL_LEVEL.put(0,"专科");
        SCHOOL_LEVEL.put(1,"本科");
        SCHOOL_LEVEL.put(2,"211/985");

        SCHOOL_LEVEL2.put(0,"民办");
        SCHOOL_LEVEL2.put(1,"公办");

        SCHOOL_STATUS.put(0,"待审核");
        SCHOOL_STATUS.put(1,"不通过");
        SCHOOL_STATUS.put(2,"通过");

        MSG_READ_STATUS.put(0,"未读");
        MSG_READ_STATUS.put(1,"已读");

        MSG_TYPE.put(0,"图片");
        MSG_TYPE.put(1,"文字");
        MSG_TYPE.put(2,"视频");
        MSG_TYPE.put(3,"表情");
        MSG_TYPE.put(4,"文件");

        USER_STATUS.put(1,"正常");
        USER_STATUS.put(0,"封禁");

        STU_SEX.put(0,"女");
        STU_SEX.put(1,"男");

        STU_STATUS.put(1,"在读");
        STU_STATUS.put(0,"退学");

        CHECK_BED_TYPE_ONE.put(0,"早查");
        CHECK_BED_TYPE_ONE.put(1,"午查");
        CHECK_BED_TYPE_ONE.put(2,"晚查");
        CHECK_BED_TYPE_ONE.put(3,"其他");


        CHECK_BED_TYPE_TWO.put(0,"查旷课");
        CHECK_BED_TYPE_TWO.put(1,"查早退");
        CHECK_BED_TYPE_TWO.put(2,"查卫生");
        CHECK_BED_TYPE_TWO.put(3,"其他");
    }
}
